﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace ManoMachine.IDE.Views.Toolbars
{
    using Microsoft.Win32;

    /// <summary>
    /// Interaction logic for NewTB.xaml
    /// </summary>
    public partial class NewTB : UserControl
    {
        public NewTB()
        {
            InitializeComponent();
        }

        private void NewButtonClicked(object sender, RoutedEventArgs e)
        {
            var saveFileDialog = new SaveFileDialog();
            saveFileDialog.AddExtension = true;
            saveFileDialog.DefaultExt = ".masm";
            saveFileDialog.ShowDialog();
        }

        private void OpenBuutonClicked(object sender, RoutedEventArgs e)
        {
            var openFileDialog = new OpenFileDialog();
            openFileDialog.DefaultExt = ".masm";
        }
    }
}
